package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Tensorflow;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface TensorflowService {

	public Tensorflow saveTensorflow(Tensorflow tensorflow);

	public Set<Tensorflow> loadTensorflows();

	public Set<Tensorflow> loadReferenceTensorflows(Set<Tensorflow> tensorflows);

	public Set<Tensorflow> loadTensorflowsByIdSet(Set<Integer> tensorflowsId);

	public Map<String, ?> loadTensorflowObjectReferencedSet(Tensorflow tensorflow);

	public Map<String, ?> loadTensorflowClassReferencedSet(Tensorflow tensorflow);

	public void deleteTensorflow(Tensorflow tensorflow);

	public void deleteTensorflows(Set<Integer> deleteTensorflowsId);

	public List<Tensorflow> findAllTensorflows(Integer startResult, Integer maxRows);

	public Tensorflow findTensorflowByPrimaryKey(Integer id);

	public Integer countTensorflows();

	public Integer countTensorflows(CmiPagination page);

	public Integer countTensorflowsByName(String queryName);

	public Integer countTensorflowsByDetachedCriteria(CmiPagination page);

}
